package com.example.sdbtspringboot.controller;

/**
 * @Description: 实体测试
 * @Author: cao
 * @Date: 2024/5/19 14:43
 */
public class Obj {
    private String name;
    private String age;
    private String id;

    public Obj() {
    }

    public Obj(String name, String age) {
        this.name = name;
        this.age = age;
    }

    public Obj(String name, String age, String id) {
        this.name = name;
        this.age = age;
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return age
     */
    public String getAge() {
        return age;
    }

    /**
     * 设置
     * @param age
     */
    public void setAge(String age) {
        this.age = age;
    }

    public String toString() {
        return "Obj{name = " + name + ", age = " + age + "}";
    }

    /**
     * 获取
     * @return id
     */
    public String getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }
}
